package com.tedu.day1;

/*
* 测试本类声明变量并赋值
* */
public class TestVariable1 {
    public static void main(String[] args) {
        //声明一个变量并赋值
        int a = 123;
        System.out.println(a);
        int b = 456;
        System.out.println(b);
        //将b的值重新赋值给a
        a = b;
        System.out.println(a);
    }
}
